package cn.t.converter.order;

import cn.t.model.order.RegionDO;
import cn.t.vo.order.RegionVO;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;

import java.util.List;

/**
 * 安卓apk管理表(Apk)dto转domain
 *
 * @author t
 * @since 2024-05-24 10:19:33
 */
@Mapper(componentModel = "spring")
public interface RegionVOConverter {
    @Mapping(target = "value", source = "regionCode")
    @Mapping(target = "label", source = "regionName")
    RegionVO do2Vo(RegionDO regionDO);
    List<RegionVO> do2Vo(List<RegionDO> regionDOS);
}

